package com.zwz.model.basic;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.Date;

@Data
public class BranchCompany {
    @JsonProperty("principalInfo")
    private LegalRepresentative legalRepresentative;

    private String name;

    @JsonProperty("exists")
    private Integer existenceStatus;

    @JsonProperty("operStatus_v2")
    private OperationStatus operationStatus;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonProperty("foundTime")
    private Date establishmentDate;

    private Address address;

    private String logo;

    @JsonProperty("_id")
    private String branchId;
}